package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.PurchaseList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description
 *
 * @author SZ
 * @date 2022/9/25/11:25
 */
public interface PurchaseListDao {
    void insert(PurchaseList purchaseList);

    List<PurchaseList> getList(@Param ("purchaseNumber") String purchaseNumber,
                               @Param ("supplierId") Integer supplierId,
                               @Param ("state") Integer state,
                               @Param ("sTime") String sTime,
                               @Param ("eTime") String eTime);

    void deleteById(@Param ("purchaseListId") Integer purchaseListId);
}
